package com.ylbh.modules.eggupgrade.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ylbh.common.utils.PageDTO;
import com.ylbh.common.utils.PageUtils;
import com.ylbh.modules.eggupgrade.entity.ShoppingEggUpgradeSetting;

import java.util.List;
import java.util.Map;

/**
 * 彩蛋邀请升级配置信息
 *
 * @author czx
 * @date 2020-01-07 17:53:13
 */
public interface ShoppingEggUpgradeSettingService extends IService<ShoppingEggUpgradeSetting> {

    /**
     * 彩蛋邀请升级配置信息列表
     * @param pageDTO
     * @return
     */
    PageUtils queryEggUpgradeList(PageDTO pageDTO);

    /**
     * 删除彩蛋邀请升级配置信息
     * @param ids
     */
    void removeEggUpgradeByIds(List<String> ids);

    /**
     * 彩蛋邀请升级配置开启状态
     * @param id
     * @param state
     */
    void modifyEggUpgradeStateById(String id, Integer state);

    /**
     * 新增彩蛋邀请升级配置信息
     * @param shoppingEggUpgradeSetting
     */
    void addEggUpgrade(ShoppingEggUpgradeSetting shoppingEggUpgradeSetting);
}

